package com.xxx.test;

//import com.xxx.encap.Person;
//import com.xxx.encap.Student;
//import com.xxx.encap.Worker;

import com.xxx.encap.*;

/**
 * @version v1.0
 * @Description:
 * @Author zhanzhongxin
 * @Date 2021/7/12 15:07
 * @Copyright 博为峰
 */
public class EncapDemo01 {
    public static void main(String[] args) {
//        new com.xxx.encap.Person();
//        new com.xxx.encap.Person();
        Person person = new Person();
        person.name = "张三";
//        person.age = -10;
        person.eat();
//        new Student();
//        new Worker();
    }
}
